package com.jacklin.config;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;


/**
 * @Author 林必昭
 * @Date 2019/4/9 20:33
 */

@Component
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter(){//服务器端点导出器
        return new ServerEndpointExporter();
    }

}
